package com.wallet.service;

import com.wallet.model.dto.UserDto;
import com.wallet.model.po.Order;
import com.wallet.model.po.Record;
import com.wallet.model.po.User;

import java.util.List;

/**
 * @author
 * @version 1.0
 * @description 用户服务接口
 * @date 2023/2/27 0027 16:14
 */
public interface UserService {
    User getUser(Long id);

    User consume(UserDto userDto) throws Exception;

    User chargeback(Long id) throws Exception;

    List<Record> getList(Long id);
}
